<?php

namespace app\common\validate\member;

use think\Validate;

class AddressValidate extends Validate
{
    protected $rule =   [
        'member_id|会员'=>'require',
        'sender_name|发件人姓名'=>'require',
        'sender_city|发件人区域'=>'require',
        'sender_address|发件人地址'=>'require',
        'sender_mobile|发件人手机号'=>'require'
    ];

    /**
     * 添加验证场景
     * @return SystemDictType
     */
    public function sceneAdd()
    {
        return $this;
    }
    /**
     * 编辑验证场景
     * @return SystemDictType
     */
    public function sceneEdit()
    {
        return $this;
    }

}